$(function (){
    $("#span1").on("click",function (){
        location.href="http://localhost:8080/userInfo";
    })
})